package com.atlin.project.service;

import com.atlin.project.model.domain.className_C;
import com.atlin.project.model.dto.className_L.className_CQueryRequest;
import com.atlin.project.model.vo.className_CVO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * @author atlin
 * @description className_L
 * @createDate date
 */
public interface className_CService extends IService<className_C> {

    void valid(className_C className_L, boolean add);

    /**
     * 获取封装
     *
     * @param className_L
     * @param request
     * @return
     */
    className_CVO getclassName_CVO(className_C className_L, HttpServletRequest request);


    /**
     * 获取查询条件
     *
     * @param questionQueryRequest
     * @return
     */
    QueryWrapper<className_C> getQueryWrapper(className_CQueryRequest questionQueryRequest);

    /**
     * 分页获取封装
     *
     * @param questionPage
     * @param request
     * @return
     */
    Page<className_CVO> getclassName_CVOPage(Page<className_C> questionPage, HttpServletRequest request);
}
